package com.mew.user.config;

import com.alibaba.nacos.api.config.ConfigType;
import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import com.alibaba.nacos.api.config.annotation.NacosProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Date 2020/11/6 0006
 **/
@NacosConfigurationProperties(dataId = "mew-events-lasting-config.yaml", type = ConfigType.YAML, autoRefreshed = true)
@Data
@ToString
@NoArgsConstructor
public class EventsLastingConfig {

    //   sign:
    //      first7:前7天

    @NacosProperty(value = "sign.a")
    private int signA;
    @NacosProperty(value = "sign.b")
    private int signB;
    @NacosProperty(value = "sign.c")
    private int signC;
    @NacosProperty(value = "sign.d")
    private int signD;
    @NacosProperty(value = "sign.first7")
    private String first7;

    @NacosProperty(value = "onlinegift.onlinetimes")
    public String onlinetimes ;
    @NacosProperty(value = "onlinegift.golds")
    public String golds;

    //days:
    //   award: 99-9
    //   time: 930-300
    //   award-b: 450-10
    //   time-b: 7900-3600
    //   roulette-times: 5
    //   roulette-info: 10,23,23,33,45,34343
    @NacosProperty(value = "days.award")
    private String daysAward;

    @NacosProperty(value = "days.time")
    private String daysTime;

    @NacosProperty(value = "days.award-b")
    private String daysAwardB;

    @NacosProperty(value = "days.time-b")
    private String daysTimeB;

    @NacosProperty(value = "days.roulette-times")
    private int daysRouletteTimes;

    @NacosProperty(value = "days.roulette-info")
    private String daysRouletteInfo;

    @NacosProperty(value = "gold-award.friend-give")
    private long friendGive;

    @NacosProperty(value = "gold-award.invite")
    private long invite;

    @NacosProperty(value = "gold-award.bind-inviter")
    private long bindInviter;

}
